//
//  YZShowCase.m
//  kuaiyi
//
//  Created by wyman on 16/5/4.
//
//

#import "YZShowCase.h"
@interface YZShowCase()
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIImageView *photoImage;
@property (weak, nonatomic) IBOutlet UILabel *illType;
@property (weak, nonatomic) IBOutlet UILabel *describleLabel;

@end
@implementation YZShowCase

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {

    }
    return   [[[NSBundle mainBundle]loadNibNamed:@"YZShowCase" owner:self options:nil] lastObject];

}

//添加控件

-(void)setIlls:(YZillMessage *)ills
{
    _ills = ills;
    self.photoImage.image = ills.photoImage;
    self.illType.text = ills.illType;
    self.describleLabel.text = ills.describleLabel;
    self.timeLabel.text = ills.timeLabel;

    
}


//懒加载控件

@end
